#include "log.hpp"

// 测试日志编写
int main()
{
    log().logMessage("test filename1",1, DEBUG, "Hello world %d\n", 1200);
    log().logMessage("test filename2",2, INFO, "Hello world %d\n", 1201);
    // log().logMessage("test filename3",3, FATAL, "Hello world %d\n", 1202);
    // log().logMessage("test filename4",4, ERROR, "Hello world %d\n", 1203);
    // log().logMessage("test filename5",5, DEBUG, "Hello world %d\n", 1204);
    // log().logMessage("test filename6",6, FATAL, "Hello world %d\n", 1205);

    LOG(DEBUG,"Hello linux\n", 520,1314);
    LOG(INFO,"Hello linux\n");
    EnableFILE();
    LOG(WARNING,"Hello linux\n");
    LOG(FATAL,"Hello C++", "Today leanring how to write log\n");

    return 0;
}